package xyz.zyt123.hikvideo.util;

import xyz.zyt123.hikvideo.bean.Camera;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author zhuyuntao
 **/
public final class CacheUtil {
  /**
   * 保存已经开始推的流
   */
  public static Map<Integer, Camera> STREAMMAP = new ConcurrentHashMap<>();

  /**
   * 回放录制
   */
  public static Map<Integer, VideoThread> PLAY_BACK = new ConcurrentHashMap<>();

  /**
   * 保存正在video的视频
   */
  public static Map<Integer, VideoThread> VIDEO_CACHE = new ConcurrentHashMap<>();
}
